class Site < ActiveRecord::Base
  validates_presence_of :title

  after_save :update_constant

  def self.get
    find(1)
  end

  private 

  def update_constant
    Easel.site = Site.find(1)
  end

end
